package com.j2ee.student.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Course)实体类
 *
 * @author gsy
 * @since 2022-05-26 16:09:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course implements Serializable{
private static final long serialVersionUID= 815283325108811393L;
    /**
     * 课程号
     */
@TableId(value = "num" , type = IdType.AUTO)
private Integer num;

    /**课程名*/    @TableField(value = "name")            private String name;

    /**任课老师*/    @TableField(value = "teacher")            private String teacher;

    /**上课地点*/    @TableField(value = "place")            private String place;

    /**课程类型*/    @TableField(value = "type")            private String type;

    /**上课时间*/    @TableField(value = "time")            private Date time;
}

